package com.dq.domain.service.centre;

import com.dq.vo.baseVo.VO;
import com.dq.domain.base.BaseEntity;
import com.dq.domain.service.ServiceProject;
import com.dq.domain.service.ServiceProjectCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

/**
 * @author cf
 */
@Data
@Entity
@ApiModel("服务项目类别服务项目 关联表")
public class ServiceProjectCategoryCentre extends BaseEntity implements VO.ToVO {

    @ManyToOne
    @ApiModelProperty("服务项目类别")
    protected ServiceProjectCategory serviceProjectCategory;
    @ManyToOne
    @ApiModelProperty("服务项目")
    protected ServiceProject serviceProject;

    @Data
    @ApiModel(value = "岗位视图")
    public static class Vo implements VO {

    }

    @Override
    public VO toVO(boolean isRecursion) {
        Vo vo = new Vo();

        return vo;
    }

}
